

<!-- saved from url=(0037)http://c.tsz90.com/home/recharge.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>充值</title>
    <link rel="shortcut icon" href="http://c.tsz90.com/home/clientapp/images/new_images/favicon.ico">
    <link href="/rawal/css/reset_5.css" rel="stylesheet" type="text/css">
    <link href="/rawal/css/style.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="/rawal/css/font-awesome.min.css">
    <link href="/rawal/css/new_style.css" rel="stylesheet" type="text/css">
    <!-- 弹出层 -->
    <link rel="stylesheet" href="/rawal/css/dialog.css">
    <script src="/rawal/js/jquery-2.0.3.min.js.下载"></script>
    <script src="/rawal/js/dialog.js.下载"></script>
    <!-- 弹出层 -->
    <script type="text/javascript" src="/rawal/js/clipboard.min.js.下载"></script>
    <script type="text/javascript" src="/rawal/js/global.js.下载"></script>


    <!-- 弹出层 -->
    <script src="/rawal/js/dialog.js.下载"></script>
    <!-- 弹出层 -->
    <link href="/rawal/css/reset_5.css" rel="stylesheet" type="text/css">
    <link href="/rawal/css/style.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="/rawal/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/rawal/css/new_page.css">
    <link rel="stylesheet" href="/rawal/css/dialog.css">

    <style type="text/css">
        .images-box{
            display: flex;
            display: -webkit-flex;
            flex-flow: wrap;
            margin-top: 10px;
            margin-bottom: 10px;
        }
        .images-box .item{
            margin-right: 5px;
            margin-bottom: 5px;
            width: 100px;
            height: 100px;
            position: relative;
        }
        .images-box .item input{
            position: absolute;
            z-index: 3;
            opacity: 0;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
        }
        .images-box .item span{
            display: block;
            width: 100px;
            height: 100px;
            text-align: center;
            line-height: 60px;
        }
        .images-box .img-item img{
            width: 100%;
            height: 100%;
        }
        .dialog {
            position: fixed;
            left: 0;
            top: 0;
            z-index: 10001;
            width: 100%;
            height: 100%;
        }
        .dialog-content {
            width: 70%;
        }
        .dialog-overlay {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 10002;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }
    </style>
</head>
<body style="">
<header class="new-header" style="padding-top: 15px;">
    <a href="javascript:history.go(-1)" class="back">
        <img src="/rawal/images/return.png">
    </a>
    <div class="tit-name">充值</div>
        <span class="dowm-btn publish-task-btn">
            <a href="http://c.tsz90.com/home/account/rechargelog.html" class="sc" style="color: #fff;">明细</a>
        </span>
</header>
<div class="new-top-up">
    <div class="update-box" id="hasZfb" style="">
        <form id="post_form" action="/index/rawal/recharges" method="post">
            <div class="member-form">
                <div class="item-box"><span>姓名:</span>
                    <input type="text" name="realname" value="" class="m_txt" placeholder="请输入真实姓名">
                </div>
            </div>
            <div class="member-form">
                <div class="item-box"><span>账号:</span>
                    <input type="text" name="account" value="" class="m_txt" placeholder="请输入卡号、支付宝、微信账号">
                </div>
            </div>
            <div class="member-form">
                <div class="item-box"><span style="font-size: 21px;font-weight: bold">￥</span>
                    <input type="text" class="m_txt" placeholder="请输入充值金额" id="credit2" name="credit2">
                </div>
            </div>
            <div class="member-form">
                <div class="member-btn">
                    <input type="hidden" name="pay_type" id="pay_type">
                    <input type="button" class="button1" value="确认">
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        $('.button1').click(function () {
            var credit2 = $("#credit2").val();
            var floatReg = /^\d+(\.\d+)?$/;
            if (!floatReg.test(credit2)) {
                message('请输入正确格式的充值金额','','error');
                event.preventDefault();//  阻止元素发生默认的行为
                return;
            }
            $(document).dialog({
                type : 'confirm',
                titleShow: false,
                overlayClose: true,
                content: '选择支付方式',
                buttonStyle: 'stacked',  // side: 并排; stacked: 堆叠
                buttons: [
                    {
                        name: '微信支付',
                        callback: function() {
                            $("#pay_type").val(1);
                            submit_post();
                        }
                    },
                    {
                        name: '支付宝',
                        callback: function() {
                            $("#pay_type").val(2);
                            submit_post();
                        }
                    },
                    {
                        name: '取消充值',
                        callback: function() {
                        }
                    }
                ]
            });
        });

        function submit_post() {
            $("form").submit();
        }
    });
</script>

<div id="qb-sougou-search" style="display: none; opacity: 0;"><p>搜索</p><p class="last-btn">复制</p><iframe src="/rawal/images/saved_resource.html"></iframe></div></body></html>